<i-form :model="this.data" class='app-form' ref='form'  id='product_product_ef_master' style="" @on-validate="formItemValidate.apply(_self, arguments)">
    <input style="display:none;" />
    <row >
            <i-col class="form-layout-container" v-show="detailsModel.group1.visible" :style="{}"  :lg="{ span: 24, offset: 0 }">
    <app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.product_product.ef_master_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >    
    <app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
    <row>
        <i-col class="form-layout-container" v-show="detailsModel.name.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='name' :itemRules="this.rules().name" class='' :caption="$t('entities.product_product.ef_master_form.details.name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.name.error" :isEmptyCaption="false" labelPos="LEFT">
    
  <app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext ='{ }' 
    :localParam ='{ }' 
    :disabled="detailsModel.name.disabled"
    name='name'
    deMajorField='name'
    deKeyField='product_template'
    :service="service"
    :acParams="{ serviceName: 'Product_templateService', interfaceName: 'FetchDefault'}"
    valueitem='product_tmpl_id' 
    :value="data.name"
    :pickupView="{ viewname: 'product-template-pickup-view', title: $t('entities.product_template.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'product_templates', parameterName: 'product_template' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
  </app-picker>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.sale_ok.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='sale_ok' :itemRules="this.rules().sale_ok" class='' :caption="$t('entities.product_product.ef_master_form.details.sale_ok')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sale_ok.error" :isEmptyCaption="false" labelPos="LEFT">
    <div style="">
  <app-checkbox :value="this.data.sale_ok" @change="($event)=>{this.data.sale_ok = $event} " :disabled="detailsModel.sale_ok.disabled"></app-checkbox>
</div>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.purchase_ok.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='purchase_ok' :itemRules="this.rules().purchase_ok" class='' :caption="$t('entities.product_product.ef_master_form.details.purchase_ok')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.purchase_ok.error" :isEmptyCaption="false" labelPos="LEFT">
    <div style="">
  <app-checkbox :value="this.data.purchase_ok" @change="($event)=>{this.data.purchase_ok = $event} " :disabled="detailsModel.purchase_ok.disabled"></app-checkbox>
</div>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.can_be_expensed.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='can_be_expensed' :itemRules="this.rules().can_be_expensed" class='' :caption="$t('entities.product_product.ef_master_form.details.can_be_expensed')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.can_be_expensed.error" :isEmptyCaption="false" labelPos="LEFT">
    <div style="">
  <app-checkbox :value="this.data.can_be_expensed" @change="($event)=>{this.data.can_be_expensed = $event} " :disabled="detailsModel.can_be_expensed.disabled"></app-checkbox>
</div>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.type.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='type' :itemRules="this.rules().type" class='' :caption="$t('entities.product_product.ef_master_form.details.type')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.type.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-span name='type' :value="data.type" dataType="PICKUPDATA"     :precision="0"
tag='PRODUCT_TEMPLATE__TYPE' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }'  :localParam ='{ }'  style="">  
</app-span>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.default_code.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='default_code' :itemRules="this.rules().default_code" class='' :caption="$t('entities.product_product.ef_master_form.details.default_code')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.default_code.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.default_code"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.default_code.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.barcode.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='barcode' :itemRules="this.rules().barcode" class='' :caption="$t('entities.product_product.ef_master_form.details.barcode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.barcode.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.barcode"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.barcode.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.website_public_price.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='website_public_price' :itemRules="this.rules().website_public_price" class='' :caption="$t('entities.product_product.ef_master_form.details.website_public_price')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.website_public_price.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.website_public_price"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.website_public_price.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.taxes_id.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='taxes_id' :itemRules="this.rules().taxes_id" class='' :caption="$t('entities.product_product.ef_master_form.details.taxes_id')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.taxes_id.error" :isEmptyCaption="false" labelPos="LEFT">
    
// taxes_id多项选择编辑器未配置选择视图

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.standard_price.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='standard_price' :itemRules="this.rules().standard_price" class='' :caption="$t('entities.product_product.ef_master_form.details.standard_price')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.standard_price.error" :isEmptyCaption="false" labelPos="LEFT">
    <input-box 
    v-model="data.standard_price"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.standard_price.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col class="form-layout-container" v-show="detailsModel.uom_name.visible" :style="{}"  :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
    <app-form-item name='uom_name' :itemRules="this.rules().uom_name" class='' :caption="$t('entities.product_product.ef_master_form.details.uom_name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.uom_name.error" :isEmptyCaption="false" labelPos="LEFT">
    
<app-picker  
  :formState="formState"
  :data="data"
  :context="context"
  :viewparams="viewparams"
  :localContext ='{ }' 
  :localParam ='{ }' 
  :disabled="detailsModel.uom_name.disabled"
  name='uom_name'
  deMajorField='name'
  deKeyField='product_template'
  :service="service"
  :acParams="{ serviceName: 'Product_templateService', interfaceName: 'FetchDefault'}"
  valueitem=''
  :value="data.uom_name"
  editortype="dropdown"
  style=""
  @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>
</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>
